/**
 * 
 */
package edu.wpi.cs509.messages.client;

import edu.wpi.cs509.clientlogic.ClientLogic;

/**
 * This class implements the server->client 
 * opponent-quit-game message. 
 * 
 * @author sparadis
 *
 */
public class MsgOpponentQuit extends MsgClientContext {

	/**
	 * The serialization version ID.
	 */
	private static final long serialVersionUID = 1L;

	/**
	 * Constructor. 
	 */
	public MsgOpponentQuit( ) {
	}
	
	/**
	 * Call the client's opponent-quit function. 
	 */
	public void rxExecute() {
		getCl().receiveOpponentQuit( ClientLogic.getInstance().getUserSession() );
	}
}

